package com.lmk.ms.common.constants;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 删除标记
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2023/3/13
 */
public enum DbDelFlagEnum {
    NO(0, "未删除"),
    YES(1, "已删除");

    @EnumValue
    @JsonValue
    private int value;

    private String text;

    DbDelFlagEnum(int value, String text) {
        this.value = value;
        this.text = text;
    }

    public int getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
